-- card: 14164 from stack: in.0-2 -- bmap block id: 14489 -- flags: 0000 -- background id: 13462 -- name: usingMenus ----- HyperTalk script ----- -- This handler dehilites all the buttons and displays the intro text. -- The "displayText" handler is in the stack script. on closeCard lock screen repeat with n = 1 to 12 set the hilite of btn ("menu" & n) to false end repeat displayText 0 unlock screen end closeCard -- This is a radioBtn handler - it dehilites all the other btns, -- then hilites the target. on doHilite repeat with n = 1 to 12 set the hilite of btn ("menu" & n) to false end repeat set the hilite of the target to true end doHilite -- part 2 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=61 top=98 right=113 bottom=171 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: menu1 ----- HyperTalk script ----- -- This handler displays the appropriate text for this menu choice. -- The "doHilite" handler is in the card script. -- The "displayText" handler is in the stack script. on mouseUp doHilite displayText 1 end mouseUp -- part 3 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=61 top=113 right=128 bottom=171 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: menu2 ----- HyperTalk script ----- -- This handler displays the appropriate text for this menu choice. -- The "doHilite" handler is in the card script. -- The "displayText" handler is in the stack script. on mouseUp doHilite displayText 2 end mouseUp -- part 4 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=61 top=128 right=143 bottom=171 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: menu3 ----- HyperTalk script ----- -- This handler displays the appropriate text for this menu choice. -- The "doHilite" handler is in the card script. -- The "displayText" handler is in the stack script. on mouseUp doHilite displayText 3 end mouseUp -- part 5 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=61 top=169 right=184 bottom=171 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: menu5 ----- HyperTalk script ----- -- This handler displays the appropriate text for this menu choice. -- The "doHilite" handler is in the card script. -- The "displayText" handler is in the stack script. on mouseUp doHilite displayText 5 end mouseUp -- part 6 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=61 top=183 right=198 bottom=171 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: menu6 ----- HyperTalk script ----- -- This handler displays the appropriate text for this menu choice. -- The "doHilite" handler is in the card script. -- The "displayText" handler is in the stack script. on mouseUp doHilite displayText 6 end mouseUp -- part 7 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=61 top=197 right=212 bottom=171 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: menu7 ----- HyperTalk script ----- -- This handler displays the appropriate text for this menu choice. -- The "doHilite" handler is in the card script. -- The "displayText" handler is in the stack script. on mouseUp doHilite displayText 7 end mouseUp -- part 8 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=61 top=211 right=226 bottom=171 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: menu8 ----- HyperTalk script ----- -- This handler displays the appropriate text for this menu choice. -- The "doHilite" handler is in the card script. -- The "displayText" handler is in the stack script. on mouseUp doHilite displayText 8 end mouseUp -- part 9 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=61 top=239 right=255 bottom=171 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: menu9 ----- HyperTalk script ----- -- This handler displays the appropriate text for this menu choice. -- The "doHilite" handler is in the card script. -- The "displayText" handler is in the stack script. on mouseUp doHilite displayText 9 end mouseUp -- part 10 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=61 top=253 right=269 bottom=171 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: menu10 ----- HyperTalk script ----- -- This handler displays the appropriate text for this menu choice. -- The "doHilite" handler is in the card script. -- The "displayText" handler is in the stack script. on mouseUp doHilite displayText 10 end mouseUp -- part 11 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=61 top=142 right=156 bottom=171 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: menu4 ----- HyperTalk script ----- -- This handler displays the appropriate text for this menu choice. -- The "doHilite" handler is in the card script. -- The "displayText" handler is in the stack script. on mouseUp doHilite displayText 4 end mouseUp -- part 13 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=182 top=84 right=234 bottom=414 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 174 -- text size: 14 -- style flags: 0 -- line height: 15 -- part name: -- part 14 (field) -- low flags: 01 -- high flags: 0002 -- rect: left=182 top=241 right=298 bottom=413 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 174 -- text size: 12 -- style flags: 0 -- line height: 13 -- part name: textDisplay -- part 15 (field) -- low flags: 81 -- high flags: 2007 -- rect: left=0 top=0 right=193 bottom=331 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 174 -- text size: 12 -- style flags: 0 -- line height: 12 -- part name: text -- part 16 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=61 top=267 right=283 bottom=171 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: menu11 ----- HyperTalk script ----- -- This handler displays the appropriate text for this menu choice. -- The "doHilite" handler is in the card script. -- The "displayText" handler is in the stack script. on mouseUp doHilite displayText 11 end mouseUp -- part 17 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=61 top=281 right=297 bottom=171 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: menu12 ----- HyperTalk script ----- -- This handler displays the appropriate text for this menu choice. -- The "doHilite" handler is in the card script. -- The "displayText" handler is in the stack script. on mouseUp doHilite displayText 12 end mouseUp -- part contents for card part 13 ----- text ----- This is the “Go” menu, which you will probably use frequently as you work on your own in HyperCard. (HyperCard designers often hide the menus—as we’ve done here—so that you can’t use them and so get lost.) Click on the options in this menu to learn about them. -- part contents for card part 14 ----- text ----- Information about the menu options will appear here when you click on the options. -- part contents for card part 15 ----- text ----- [0] Information about the menu options will appear here when you click on the options. [1] This menu option will take you to the place where you just were. [2] This menu option will take you to the first card of the “Home” stack. You will learn more about Home later. [3] The “Help” option takes you to the HyperCard “Help Stack”, where you can learn about the workings of HyperCard. [4] “Recent” shows you small pictures of the last 42 places you have been in HyperCard. Clicking on one of the pictures takes you to that place. [5] The “First” option will take you to the first card in a stack. You will learn about cards later. [6] “Prev” takes you to the last bit of information, just like a left arrow button. [7] “Next” takes you to the next piece of information, like a right arrow button. [8] The “Last” option takes you to the last card in a stack. You will learn about cards later. [9] “Find...” brings up a window into which you can type a word you want to find. HyperCard will take you to the next place where that word appears. [10]“Message” brings up the “Message Box” window. You can type HyperTalk commands into this window. You will learn more about commands later. [11]“Scroll” puts up a small window containing a representation of the card on your screen. You use the Scroll Window to move around the card. [12]The “Next Window” option will be active if you have more than one HyperCard stack open on your screen. It allows you to make the next window usable. [13]